package com.example.demo.mapper;

import com.example.demo.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CategoryMapper {
    int insert(Category category);
    int update(Category category);
    int updateStatus(Integer id, Integer status);
    int deleteById(Integer id);
    Category getCategoryById(Integer id);
    List<Category> getCategoryList(String keyword, String orderBy);
}
